<div class="op-pager">
    <ul class="pagination pagination-sm" data-bind="foreach: pages">
        <li data-bind="css: {active: active}"><a href="#" data-bind="html: label, click: $root.goToPage.bind($root)"></a></li>
    </ul>
</div>